page {
  background: #f9f9f9;
}

.tip {
  font-size: 24rpx;
  text-align: center;
  color: #757575;
  padding: 10rpx 0;
}

.user-info-box {
  text-align: center;
  height: 230rpx;
  width: 100%;
  position: relative;
  .user-info-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
  }
  .user-info {
    padding: 40rpx;
    justify-content: space-between;
    color: #fff;
    font-size: 32rpx;
    align-content: center;
    align-items: center;
    .info {
      display: flex;
      align-content: flex-start;
      align-items: center;
      .user-avatar {
        width: 80rpx;
        height: 80rpx;
        border-radius: 100%;
      }

      .name {
        margin-left: 20rpx;
      }
    }
    .focus{
      width: 50rpx;
      color: #ffffff;
      font-size: 24rpx;
      margin-right: 40rpx;
      .num{
        font-size: 32rpx;
        font-weight: 500;
      }
    }
    .icon-arrow-right {
      transform: scale(0.6);
    }
  }
}

.nav-content {
  margin-top: -70rpx;
  padding: 0 40rpx;
  .menus {
    width: 670rpx;
    background: #fff;
    border-radius: 16rpx;
    box-shadow: 0 8rpx 16rpx 0 rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 40rpx 0;
    font-size: 28rpx;

    .menu-item {
      flex: 1;
      color: #212121;
      text-align: center;
      .iconfont {
        font-size: 54rpx;
        &.icon-my-order:before {
          background-image: linear-gradient(180deg, #ffe254 0%, #ffc001 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          color: transparent;
        }

        &.icon-my-course:before {
          background-image: linear-gradient(180deg, #2becb4 0%, #14cc76 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          color: transparent;
        }

        &.icon-my-wrong-question:before {
          background-image: linear-gradient(180deg, #ff89d1 0%, #ff26ae 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          color: transparent;
        }

        &.icon-my-coach:before {
          background-image: linear-gradient(180deg, #6090ff 0%, #2667fe 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          color: transparent;
        }
      }
      .module-name {
        margin-top: 8rpx;
        font-size: 28rpx;
        color: #4a4a4a;
      }
    }
  }
}

.recent-browsed {
  background: #fff;
  margin: 40rpx 0 20rpx 0;
  padding: 40rpx;

  .title-box {
    display: flex;
    justify-content: space-between;
    .title {
      color: #4a4a4a;
      font-size: 32rpx;
      font-weight: bold;
    }
  }

  .more-info {
    color: #757575;
    font-size: 24rpx;
    line-height: 50rpx;
  }

  .course-box {
    margin-top: 40rpx;
    .course {
      margin-bottom: 20rpx;
      box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.1);
      border-radius: 16rpx;
      position: relative;
      padding: 60rpx 20rpx 40rpx 20rpx;

      .tag {
        position: absolute;
        right: 0;
        top: 0;
        border-radius: 0 16rpx 0 16rpx;
        color: #fff;
        display: inline-block;
        font-size: 24rpx;
        font-weight: normal;
        padding: 0 20rpx;
        line-height: 40rpx;
        &.primary {
          color: #14cc76;
          background: rgba(20, 204, 118, 0.1);
        }
        &.junior {
          color: #ffba00;
          background: rgba(255, 186, 0, 0.1);
        }
        &.senior {
          color: #fe7141;
          background: rgba(254, 113, 65, 0.1);
        }
      }

      .base-info {
        font-size: 28rpx;
        .curriculum-name {
          font-size: 32rpx;
          height: 106rpx;
          max-height: 80rpx;
          // margin-bottom: 20rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: #4a4a4a;
          font-weight: bold;
        }
        .school-name {
          font-size: 28rpx;
          margin-top: 16rpx;
          color: #14cc76;
          font-weight: 400;
        }
        .other {
          margin-top: 40rpx;
          font-size: 24rpx;
          color: #757575;
          justify-content: space-between;
          .teachers {
            align-content: flex-start;
            .teacher {
              text-align: center;
              .avatar {
                width: 48rpx;
                height: 48rpx;
                border-radius: 100%;
              }
              .name {
                color: #9b9b9b;
                display: inline-block;
                width: 110rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 24rpx;
              }
            }
          }
          .price {
            color: #ff3b30;
            font-size: 40rpx;
            text-align: right;
          }
          .limited {
            color: #ff1e32;
            font-size: 24rpx;
            margin-right: 12rpx;
          }
          .joined-num {
            color: #9b9b9b;
            font-size: 24rpx;
          }
        }
      }
    }
  }
}

.about-us {
  background: #fff;
  margin-bottom: 20rpx;
  padding: 26rpx 40rpx;
  .title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .title {
      color: #4a4a4a;
      font-size: 32rpx;
      font-weight: bold;
    }
    .iconfont {
      color: #757575;
      font-size: 20rpx;
      transform: scale(0.9);
      // line-height: 30rpx;
    }
  }
}

// button样式重置
.xhzx-form-button {
  color: inherit;
  line-height: auto;
  font-size: inherit;
  text-align: inherit;
}
